package com.example.model;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;



/**
 * Created on 2017/12/26 18:50.
 *
 * actorId 	SMALLINT 	5 	 
 * firstName 	VARCHAR 	45 	 
 * lastName 	VARCHAR 	45 	 
 * lastUpdate 	TIMESTAMP 	19 	 
 */

public class Actor implements Serializable {

	private static final long serialVersionUID = 2011043560943600042L;

    @ApiModelProperty(value = "actorId")
    private Short actorId;

    @ApiModelProperty(value = "firstName")
    private String firstName;

    @ApiModelProperty(value = "lastName")
    private String lastName;

    @ApiModelProperty(value = "lastUpdate")
    private Date lastUpdate;

    public Short getActorId() {
        return actorId;
    }

    public Actor setActorId(Short actorId) {
        this.actorId = actorId;
		return this;
    }

    public String getFirstName() {
        return firstName;
    }

    public Actor setFirstName(String firstName) {
        this.firstName = firstName == null ? null : firstName.trim();
		return this;
    }

    public String getLastName() {
        return lastName;
    }

    public Actor setLastName(String lastName) {
        this.lastName = lastName == null ? null : lastName.trim();
		return this;
    }

    public Date getLastUpdate() {
        return lastUpdate;
    }

    public Actor setLastUpdate(Date lastUpdate) {
        this.lastUpdate = lastUpdate;
		return this;
    }
}
